package com.shop.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author XCH
 * @date 2025 - 06 - 09
 * 会员
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Membership {
    private Integer id;
    private Integer user_id;
    private String level;
    private Integer points;
    @JsonProperty("empirical")
    private Integer empirical;
    private Integer is_active;
    private User user;
}
